package com.crungoo;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author fujc-dev@qq.com
 * @description TODO
 * @date 2023/6/27 13:20
 */

public class 事件发布Programs {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AppConfig.class);
		// 使用教程：https://blog.csdn.net/x123453316/article/details/120684497
		context.publishEvent("kkk");
	}
}
